﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Home.aspx.cs" Inherits="EislaufScb.WebForms.Views.News.Home" MasterPageFile="~/Shared/Site.Master" %>
<%@ MasterType VirtualPath="~/Shared/Site.Master" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">

</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <script type="text/javascript" language="javascript">
        $(document).ready(function () {
            var text = $(document).find('span');
            var gugus = "";

        });
    </script>
    <h2>
        News
    </h2>
    <br />
    <div id="ContentDiv">
    <asp:DataList ID="NewsDataList" runat="server">
        <ItemTemplate>        
            <asp:Label ID="TitleLabel" runat="server" Text='<% #Eval("Title") %>' CssClass="NewshaderLabel" />
            <br />
            <asp:Label ID="ContentLabel" runat="server" Text='<% #Eval("Content") %>' CssClass="NewsContentLabel" />
            <br />
            <asp:Label ID="PublishingDateLabel" runat="server" Text='<% #Eval("PublishingDate") %>'></asp:Label>
            <hr />
        </ItemTemplate>
    </asp:DataList>
    </div>
</asp:Content>